<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>点球网-查看比赛</title>
		<link href="${ctx}/css/css.css" rel="stylesheet" type="text/css" />
		<link type="text/css" href="${ctx}/css/jquery.ui.all.css" rel="stylesheet" />
		<script type="text/javascript" src="${ctx}/js/jquery.js" ></script>
		<script type="text/javascript" src="${ctx}/js/jquery.ui.core.js"></script>
		<script type="text/javascript" src="${ctx}/js/jquery.ui.widget.js"></script>
		<script type="text/javascript" src="${ctx}/js/jquery.ui.accordion.js"></script>
		<script type="text/javascript">
		$(function() {
			$( "#accordion" ).accordion();
		});
		</script>
	</head>
	<body>
		<div id="head">
			<div class="topnav">
				<ul>
				<li class="tn1"><a href="${ctx}/user-follow-clubs!showUserFollowClubs.action">主页</a></li>
				<li class="tn2"><a href="#">买彩</a></li>
				<li class="tn3"><a href="#">提彩</a></li>
				<li class="tn4"><a href="#">查账</a></li>
				<li class="tn5"><a href="#">客服</a></li>
				<li class="tn6"><a href="#">规则</a></li>
				<li class="tn7"><a href="#">注册</a></li>
				<li class="tn8"><a href="#">声明</a></li>
				<li class="tn9"><a href="#">刷新</a></li>
				<li class="right"><a href="#">齐达内，账户彩金：1000元，冻结彩金：200元。</a></li>
				</ul>
			</div>
			<div class="logo">
				<div class="cnav">
					<ul>
					<li class="cn1"><a href="${ctx}/create-match!create.action">创建比赛</a></li>
					<li class="cn2"><a href="${ctx}/match!listMatchDefault.action">查看比赛</a></li>
					<li class="cn3"><a href="${ctx}/bet!bet.action">用户下注</a></li>
					<li class="cn4"><a href="${ctx}/bet!listBet.action">查看下注</a></li>
					<li class="cn5"><a href="${ctx}/user-follow-clubs!showUserFollowClubs.action">关注球队</a></li>
					</ul>
				</div>
			</div>
			<div class="message">最新消息，本站注册用户可申请为“超级彩民”用户，超级彩民用户拥有高额返彩的机会。</div>
		</div>
		
		<div id="center">
			<div class="here">
				<span></span>您现在的位置：
				<a href="${ctx}/user-follow-clubs!showUserFollowClubs.action">点球网</a> &raquo; 
				<a href="#">查看比赛</a>
			</div>
			
			
				
			<div class="cbody">
				<div id=accordion>
					<c:forEach items="${matchDateList}" var="matchDate">
						<H3><a href="#">${matchDate}</a></H3>
						<table width="100%" border="0" cellpadding="2" cellspacing="2">
							<tr class="ckbs">
								<td style="font-size: 12px">联赛名称</td>
								<td style="font-size: 12px">比赛时间</td>
								<td style="font-size: 12px">主队</td>
								<td style="font-size: 12px">比分</td>
								<td style="font-size: 12px">客队</td>
								<td style="font-size: 12px">查看盘口</td>
							</tr>
							
							<c:forEach items="${matchList}" var="matchHist">
								<c:if test="${matchDate == matchHist.matchDate}">
									<tr class="ckbslb">
										<td style="font-size: 12px"><img src="images/xj.gif" />${matchHist.dqLeagues.lgNameSc}</td>
										<td style="font-size: 12px">${matchHist.matchTime}</td>
										<td style="font-size: 12px"><img src="images/mfc.gif" />${matchHist.dqClubsByHomeClbId.clbSc}</td>
										<td style="font-size: 12px">${matchHist.homeScore}:${matchHist.awayScore}</td>
										<td style="font-size: 12px"><img src="images/basa.gif" />${matchHist.dqClubsByAwayClbId.clbSc}</td>
										<td style="font-size: 12px">
											<a href="list-handicap!listHandicap.action?matchId=${matchHist.mthId}">查看盘口</a>
										</td>
									</tr>
								</c:if>
							</c:forEach>
						</table>
					</c:forEach>
				</div>
			</div>
		</div>
		
		
		<div id="footer">
			<div class="fnav">
				<a href="#">关于我们</a> | 
				<a href="#">关于我们</a> | 
				<a href="#">关于我们</a> | 
				<a href="#">关于我们</a> | 
				<a href="#">关于我们</a> | 
				<a href="#">关于我们</a> | 
				<a href="#">关于我们</a> | 
				<a href="#">关于我们</a>
			</div>
			<div class="bq">Copyright ? 2010 点球网 保留所有版权。</div>
		</div>
	</body>
</html>
